package cc.openhome;

/**
 * Created by xuzhihan on 17/3/19.
 */
public class Ocean2 {
    public static void main(String[] args) {
        doSwim(new Seaplane ("kongjun"));
        doSwim(new FlyingFish("shan"));
    }
    static void doSwim(Swimmer swimmer){
        swimmer.swim();

    }
}
